<template>
  <div class="roll-text-control">
    <div class="ck-content" v-html="d.text" :class="{across: d.rollType===2}"></div>
  </div>
</template>

<script>
export default {
  props: {
    d: Object
  }
}
</script>

.<style scoped>
.roll-text-control {
  height: 100%;
  overflow: hidden;
}
.across {
  white-space: nowrap;
}
</style>
